package com.ios.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class RelativeLocation {
    private int id;

    private int relativeId;

    private String relativeLatitude;

    private String relativeLongitude;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getRelativeId() {
        return relativeId;
    }

    public void setRelativeId(int relativeId) {
        this.relativeId = relativeId;
    }

    public String getRelativeLatitude() {
        return relativeLatitude;
    }

    public void setRelativeLatitude(String relativeLatitude) {
        this.relativeLatitude = relativeLatitude;
    }

    public String getRelativeLongitude() {
        return relativeLongitude;
    }

    public void setRelativeLongitude(String relativeLongitude) {
        this.relativeLongitude = relativeLongitude;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "RelativeLocation{" +
                "id=" + id +
                ", relativeId=" + relativeId +
                ", relativeLatitude='" + relativeLatitude + '\'' +
                ", relativeLongitude='" + relativeLongitude + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
